<%@page import="com.tucue.model.Faq" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>常见问题详情</title>
        <link rel="stylesheet" href="<%request.getContextPath();%>/css/bootstrap.min.css">
        <link rel="stylesheet" href="<%request.getContextPath();%>/css/commonStyle.css">
        <script src="<%request.getContextPath();%>/js/jquery-1.11.2.min.js"></script>
        <script src="<%request.getContextPath();%>/js/bootstrap.min.js"></script>
        <!--  Text Editor begin  -->
        <script charset="utf-8" src="<%request.getContextPath();%>/js/kindeditor/kindeditor-min.js"></script>
        <script charset="utf-8"  src="<%request.getContextPath();%>/js/kindeditor/lang/zh_CN.js"></script>
        <script>
            var editor;
            KindEditor.ready(
                    function(K)
                    {
                        editor = K.create('textarea[name="texteditor_con"]',
                                {
                                    allowFileManager : true ,
                                    resizeType:0
                                }
                        );

                    }
            );
        </script>
        <!--  Text Editor end  -->
    </head>

    <body>
    <div class="container" style="width:1052px; margin:0px;">
<!--      页头-->
<div class="row show-grid">
<h3 class="Page_title">常见问题详情</h3>
</div>
<div class="row show-grid unified-border">
<!--       条目信息区域-->
        <div class="imfor col-xs-8">
           <table class="table">
               <tr>
                   <td>创建编辑：<span>${questions.userid}</span></td>
                   <td>创建时间：<span>${questions.createtime}</span></td>
                   <td>上线时间：<span>${questions.publishtime}</span></td>
               </tr>
               <tr>
                   <td>累计浏览量：<span>${questions.pageview}</span></td>
                   <td>当前状态：<span>${questions.status}</span></td>
                   <td></td>
               </tr>
           </table>
        </div>
        
        <form class="form-horizontal">
<!--         标题-->
          <div class="form-group">
            <label for="qtitle" class="col-sm-2 control-label">标题</label>
            <div class="col-xs-4">
                <input type="text" class="form-control" id="qtitle" placeholder="如何入驻" value="${questions.title}" readonly>
            </div>
          </div>
<!--         正文-->
          <div class="form-group">
            <label class="col-sm-2 control-label">正文</label>
              <div id="tro" class="col-sm-5" style="margin-top:10px; margin-left:14px;">
                  <textarea name="texteditor_con" style=" display:block;width:700px;height:450px; margin-left:auto; margin-right:auto;">${questions.content}</textarea>
              </div>
          </div>
<!--          操作备注-->
          <div class="form-group">
            <label for="remark" class="col-sm-2 control-label">操作备注</label>
            <div class="col-sm-8">
               <textarea id="remark" class="form-control" rows="5" style="width: 700px;" readonly></textarea>
            </div>
          </div> 
        </form>
        </div>
    </div>
    </body>
</html>